#include<iostream>
#include<stdlib.h> 
using namespace std;

typedef struct node nodety;

struct node{
	int num;
	nodety *next;
};

void printlink(nodety *h){
	while( h ){
		printf("%p %d %p\n",h,h->num,h->next);
		h=h->next;
	}
}

int main(){
	nodety *h;
	int l,k,i=0;
	scanf("%p %d %d",&h,&l,&k);
	nodety *p;
	scanf("%p",&p);
	p=(nodety*)malloc(sizeof(nodety));
	//scanf("%d %p",&(p->num),&(p->next));
	p->num=4;//p->next=0x99999;
	//printf("%p %d %p",h,h->num,h->next);-
	cout<<p<<p->num<<p->next;
	/*while( i++<l ){
		nodep *p;
		scanf("%p",&p);
		p=(nodep*)malloc(sizeof(node));
		scanf("%d %p",&p->num,&p->next); 
	}*/
	//printlink(h);
	return 0;
} 
